package cn.glinks.liuhe.model;

import com.amap.api.maps.model.LatLng;
import com.amap.api.maps.model.Marker;
import com.amap.api.maps.model.Text;

import java.io.Serializable;

/**
 * Created by new on 2017/4/11.
 */

public class Park implements Serializable {
    // 名称Marker位置常量值
    public final static int ALIGN_LEFT = 1;
    public final static int ALIGN_RIGHT = 2;
    public final static int ALIGN_TOP = 3;
    public final static int ALIGN_BOTTOM = 4;

    // 园区所在城市级别的常量值
    public final static int LEVEL_COUNTRY = 1;//直辖市
    public final static int LEVEL_PROVINCE = 2;//省会
    public final static int LEVEL_CITY_1 = 3;//地级市
    public final static int LEVEL_CITY_2 = 4;//区级
    public final static int LEVEL_CITY_3 = 5;//县级

    // 地图信息
    public Marker marker;//合格率Marker
    public Text textMarker;//名称Marker
    public int align = ALIGN_RIGHT;//名称Marker位置

    // 基本信息
    public int index;
    public String name;//实际名称
    public String showName;//显示名称
    public LatLng latLng;//地理坐标

    // 附加信息
    public int parkLevel = LEVEL_CITY_1;
    public boolean isQualified = false;
    public int qualifiedRate = 100;


    public Park() {
    }

    public Park(int index, String name, String showName, LatLng latLng) {
        this.index = index;
        this.name = name;
        this.showName = showName;
        this.latLng = latLng;
    }
}
